package com.ruoyi.workbenches.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 接待登记对象 manual_record
 * 
 * @author ruoyi
 * @date 2025-03-20
 */
public class ManualRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long manualRecordId;

    /** 养老院ID */
    @Excel(name = "养老院ID")
    private Long communityId;

    /** 访客姓名 */
    @Excel(name = "访客姓名")
    private String visitor;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String mobile;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String cardNo;

    /** 受访者 */
    @Excel(name = "受访者")
    private String interviewee;

    /** 进场时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "进场时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inTime;

    /** 出场时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出场时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outTime;

    /** 登记人 */
    @Excel(name = "登记人")
    private String adminId;

    /** 登记时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "登记时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signTime;

    public void setManualRecordId(Long manualRecordId) 
    {
        this.manualRecordId = manualRecordId;
    }

    public Long getManualRecordId() 
    {
        return manualRecordId;
    }
    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }
    public void setVisitor(String visitor) 
    {
        this.visitor = visitor;
    }

    public String getVisitor() 
    {
        return visitor;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setCardNo(String cardNo) 
    {
        this.cardNo = cardNo;
    }

    public String getCardNo() 
    {
        return cardNo;
    }
    public void setInterviewee(String interviewee) 
    {
        this.interviewee = interviewee;
    }

    public String getInterviewee() 
    {
        return interviewee;
    }
    public void setInTime(Date inTime) 
    {
        this.inTime = inTime;
    }

    public Date getInTime() 
    {
        return inTime;
    }
    public void setOutTime(Date outTime) 
    {
        this.outTime = outTime;
    }

    public Date getOutTime() 
    {
        return outTime;
    }
    public void setAdminId(String adminId) 
    {
        this.adminId = adminId;
    }

    public String getAdminId() 
    {
        return adminId;
    }
    public void setSignTime(Date signTime) 
    {
        this.signTime = signTime;
    }

    public Date getSignTime() 
    {
        return signTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("manualRecordId", getManualRecordId())
            .append("communityId", getCommunityId())
            .append("visitor", getVisitor())
            .append("mobile", getMobile())
            .append("cardNo", getCardNo())
            .append("interviewee", getInterviewee())
            .append("remark", getRemark())
            .append("inTime", getInTime())
            .append("outTime", getOutTime())
            .append("adminId", getAdminId())
            .append("signTime", getSignTime())
            .toString();
    }
}
